package com.lala.commom.remote;

import com.github.pagehelper.PageInfo;
import com.lala.commom.pojo.Kurse;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

public interface KurseRemote {
    @RequestMapping("/selectKures")
    PageInfo<Kurse>selectKures(@RequestParam("pageNum")int pageNum,@RequestParam("pageSize")int pageSize);

    /*(修改)审核是否通过 0通过*/
    @RequestMapping("/updateKuresTy")
    int updateKuresTy(@RequestParam("id")Integer id);

    /*(修改)审核是否通过 1未通过*/
    @RequestMapping("/updateKuresBty")
    int updateKuresBty(@RequestParam("id")Integer id);

}
